package com.coderedma.beans.factory.support;

import com.coderedma.beans.BeansException;
import com.coderedma.core.io.Resource;
import com.coderedma.core.io.ResourceLoader;

/**
 * @Author coderedma
 * @Desc 读取xml的文件接口
 * @createTime 2024/7/29 14:36
 * @since 1.0.0
 */
public interface BeanDefinitionReader {
    BeanDefinitionRegistry getRegistry();

    ResourceLoader getResourceLoader();

    void loadBeanDefinitions(Resource resource) throws BeansException;

    void loadBeanDefinitions(String location) throws BeansException;

    void loadBeanDefinitions(String[] locations) throws BeansException;
}
